# -*- coding: utf-8  -*-
from django.shortcuts import get_object_or_404, render_to_response
from django.http import HttpResponseRedirect
from mysite.blog.models.blog import *
from mysite.blgo.models import *
from django.http import HttpResponse

def mark(request,year,month,day,slug):
    p = get_object_or_404(Blog, pk=slug)
    p.blog.mark += 1
    p.blog.mark.save()
    